package org.apache.dubbo.demo.provider;

import org.apache.dubbo.config.annotation.Service;
import org.apache.dubbo.demo.MockService;
import org.apache.dubbo.rpc.RpcException;

/**
 * @author duyutian
 * @version 1.0
 * @date 2020/8/19 19:12
 */
@Service
public class MockServiceImpl implements MockService {
    @Override
    public void helloMock() {
        throw new RpcException();
    }
}
